#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<Windows.h>
int main()
{	
	int arr[10] = { 1,2,3,1,2,3,4,5,6,7 };
	int i = 0, j = 0, k = 0;
	for (i = 0;i < 10 - 1;i++)
	{
		k = i;
		for (j = i + 1;j < 10;j++)
		{
			if (arr[j] > arr[i])
			{
				k = j;
				int tmp = arr[k];
				arr[k] = arr[i];
				arr[i] = tmp;
			}
		}
	}
	system("pause");
	//char arr1[] = "HELLO";
	//char arr2[] = { 'H','E','L','L','O' };
	//int ret1 = sizeof(arr1);
	//int ret2 = sizeof(arr2);
	return 0;
}